package com.hongdee.crm.workitem.entity;

import com.hongdee.annotation.ExcelData;
import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 名  称:TCrmCarWorkItem
 * 类  型: class
 * 描  述: 通过 token取用户信息
 * 路  径:com.hongdee.crm.workitem.entity.TCrmCarWorkItem;
 * 作  者: 术洪超
 * 日  期:2017-02-15 09:06
 */

@Entity
@Table(name = "T_CRM_CAR_WORKITEM")
public class TCrmCarWorkItem extends BaseEntity {

    //工单号
    @ExcelData("工单号")
    @Column(name = "order_code", length = 32, columnDefinition = "VARCHAR(32) COMMENT '工单号'")
    private String orderCode;

    //商品名称
    @ExcelData("商品名称")
    @Column(name = "product_name", length = 64, columnDefinition = "VARCHAR(64) COMMENT '商品名称'")
    private String productName;

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    //开单日期
    @ExcelData("开单日期")
    @Column(name = "open_date", length = 22, columnDefinition = "BIGINT COMMENT '开单日期'")
    private Long openDate;

    //接待员
    @ExcelData("接待员")
    @Column(name = "receptor", length = 32, columnDefinition = "VARCHAR(32) COMMENT '接待员'")
    private String receptor;

    //工单类别
    @ExcelData("工单类别")
    @Column(name = "order_type", length = 32, columnDefinition = "VARCHAR(32) COMMENT '工单类别'")
    private String orderType;

    //维修类别
    @ExcelData("维修类别")
    @Column(name = "maintain_type", length = 32, columnDefinition = "VARCHAR(32) COMMENT '维修类别'")
    private String maintainType;

    //车牌
    @ExcelData("车牌")
    @Column(name = "plate_num", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车牌号'")
    private String plateNum;

    //车架号
    @ExcelData("车架号")
    @Column(name = "vin", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车架号'")
    private String vin;

    //品牌
    @ExcelData("品牌")
    @Column(name = "brand", length = 32, columnDefinition = "VARCHAR(32) COMMENT '品牌'")
    private String brand;

    //车系
    @ExcelData("车系")
    @Column(name = "series", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车系'")
    private String series;

    //车型
    @ExcelData("车型")
    @Column(name = "model", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车型'")
    private String model;

    //维修项目代码
    @ExcelData("维修项目代码")
    @Column(name = "item_code", length = 32, columnDefinition = "VARCHAR(32) COMMENT '维修项目代码'")
    private String itemCode;

    //维修项目名称
    @ExcelData("维修项目名称")
    @Column(name = "item_name", length = 128, columnDefinition = "VARCHAR(512) COMMENT '维修项目名称'")
    private String itemName;

    //工时
    @ExcelData("工时")
    @Column(name = "cost_time", length = 10, columnDefinition = "VARCHAR(10) COMMENT '工时'")
    private String costTime;

    //工时单价
    @ExcelData("工时单价")
    @Column(name = "unit_fee", length = 10, columnDefinition = "VARCHAR(10) COMMENT '工时单价'")
    private String unitFee;

    //总费用
    @ExcelData("总费用")
    @Column(name = "total_fee", length = 10, columnDefinition = "VARCHAR(10) COMMENT '总费用'")
    private String totalFee;

    //技师
    @ExcelData("技师")
    @Column(name = "worker", length = 32, columnDefinition = "VARCHAR(32) COMMENT '技师'")
    private String worker;

    //费用类别
    @ExcelData("费用类别")
    @Column(name = "fee_type", length = 32, columnDefinition = "VARCHAR(32) COMMENT '费用类别'")
    private String feeType;

    //结算代码
    @ExcelData("结算代码")
    @Column(name = "balance_code", length = 32, columnDefinition = "VARCHAR(32) COMMENT '结算代码'")
    private String balanceCode;

    //工种
    @ExcelData("工种")
    @Column(name = "work_kind", length = 32, columnDefinition = "VARCHAR(32) COMMENT '工种'")
    private String workKind;

    //工种
    @ExcelData("行驶里程")
    @Column(name = "run_mile", length = 32, columnDefinition = "VARCHAR(64) COMMENT '行驶里程'")
    private String runMile;

    public String getRunMile() {
        return runMile;
    }

    public void setRunMile(String runMile) {
        this.runMile = runMile;
    }

    //维修类型ID
    @Column(name = "maintaintype_id", length = 11, columnDefinition = "INT COMMENT '维修类型ID'")
    private Integer maintaintypeId;

    //导入公司 ID
    @Column(name = "company_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '导入公司 ID'")
    private String companyId;

    //确认人
    @Column(name = "confirmer", length = 32, columnDefinition = "VARCHAR(32) COMMENT '确认人'")
    private String confirmer;

    //确认时间
    @Column(name = "confirm_date", length = 22, columnDefinition = "BIGINT COMMENT '确认时间'")
    private Long confirmDate;

    //状态
    @Column(name = "status", length = 1, columnDefinition = "VARCHAR(1) COMMENT '状态'")
    private String status;

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public Long getOpenDate() {
        return openDate;
    }

    public void setOpenDate(Long openDate) {
        this.openDate = openDate;
    }

    public String getReceptor() {
        return receptor;
    }

    public void setReceptor(String receptor) {
        this.receptor = receptor;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getMaintainType() {
        return maintainType;
    }

    public void setMaintainType(String maintainType) {
        this.maintainType = maintainType;
    }

    public String getPlateNum() {
        return plateNum;
    }

    public void setPlateNum(String plateNum) {
        this.plateNum = plateNum;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getSeries() {
        return series;
    }

    public void setSeries(String series) {
        this.series = series;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getItemCode() {
        return itemCode;
    }

    public void setItemCode(String itemCode) {
        this.itemCode = itemCode;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getCostTime() {
        return costTime;
    }

    public void setCostTime(String costTime) {
        this.costTime = costTime;
    }

    public String getUnitFee() {
        return unitFee;
    }

    public void setUnitFee(String unitFee) {
        this.unitFee = unitFee;
    }

    public String getTotalFee() {
        return totalFee;
    }

    public void setTotalFee(String totalFee) {
        this.totalFee = totalFee;
    }

    public String getWorker() {
        return worker;
    }

    public void setWorker(String worker) {
        this.worker = worker;
    }

    public String getFeeType() {
        return feeType;
    }

    public void setFeeType(String feeType) {
        this.feeType = feeType;
    }

    public String getBalanceCode() {
        return balanceCode;
    }

    public void setBalanceCode(String balanceCode) {
        this.balanceCode = balanceCode;
    }

    public String getWorkKind() {
        return workKind;
    }

    public void setWorkKind(String workKind) {
        this.workKind = workKind;
    }

    public Integer getMaintaintypeId() {
        return maintaintypeId;
    }

    public void setMaintaintypeId(Integer maintaintypeId) {
        this.maintaintypeId = maintaintypeId;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getConfirmer() {
        return confirmer;
    }

    public void setConfirmer(String confirmer) {
        this.confirmer = confirmer;
    }

    public Long getConfirmDate() {
        return confirmDate;
    }

    public void setConfirmDate(Long confirmDate) {
        this.confirmDate = confirmDate;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
